// 导入vue-router插件
import VueRouter from "vue-router"

// 创建路由器对象
export default new VueRouter({
    mode: 'history',
    // 在这配置路由规则
    routes: [
        {path: '/NewPage', component: () => import("@/pages/NewPage")},
        {path: '/HomePage', component: () => import("@/pages/HomePage")},
        {path: '/ChatPage', component: () => import("@/pages/ChatPage")},
        {path: '/PersonalPage', component: () => import("@/pages/PersonalPage")},
        {path: '/TopicPage', component: () => import("@/pages/TopicPage")},
        {path: '/SearchPage', component: () => import("@/pages/SearchPage")},
        {path: '/SquarePage', component: () => import("@/pages/SquarePage")},
        {path: '/SettingPage', component: () => import("@/pages/PersonalPage")},
        {path: '/FansListPage', component: () => import("@/pages/FansListPage")},
        {path: '/FollowListPage', component: () => import("@/pages/FollowListPage")},
        {path: '/FriendUpdateInfo', component: () => import("@/pages/FriendUpdateInfo")},
    ]
})
